addToBuilder

fun addToBuilder(builder: AttributeModifiersComponent.Builder, slot: AttributeModifierSlot = AttributeModifierSlot.ANY)

Deprecated

Scheduled for removal in 0.6.0

adds the stored Attribute and its modifier to a passed Attribute Component builder

Author

fzzyhmstrs

Since

0.3.1

Parameters

builder

AttributeModifiersComponent.Builder - to add this attribute/modifier pair to

slot

AttributeModifierSlot - the slot for the attribute, defaults to AttributeModifierSlot.ANY